Get window position by reading _NET_FRAME_EXTENTS (Bug#5721).
authorJan D. <jan.h.d@swipnet.se>
Thu, 4 Nov 2010 08:41:25 +0000 (09:41 +0100)
committerJan D. <jan.h.d@swipnet.se>
Thu, 4 Nov 2010 08:41:25 +0000 (09:41 +0100)
commit9df3a7d2a939f3aaa673929348735a29b5d8c762
tree91a02572baefe0492311a260fe005549c5aa87dd
parent87683abb90d92c8fefa20f0e20c1e59afecda45c
Get window position by reading _NET_FRAME_EXTENTS (Bug#5721).

* src/xfns.c (x_real_positions): Try to get _NET_FRAME_EXTENTS first
before traversing window tree (Bug#5721).

* src/xterm.c (x_term_init): Initialize Xatom_net_frame_extents.

* src/xterm.h (struct x_display_info): Xatom_net_frame_extents is new.
src/ChangeLog
src/xfns.c
src/xterm.c
src/xterm.h